package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.WxuserPersonalDao;
import io.renren.entity.WxuserPersonal;
import io.renren.service.WxuserPersonalService;



@Service("wxuserPersonalService")
public class WxuserPersonalServiceImpl implements WxuserPersonalService {
	@Autowired
	private WxuserPersonalDao wxuserPersonalDao;
	
	@Override
	public WxuserPersonal queryObject(Integer id){
		return wxuserPersonalDao.queryObject(id);
	}
	
	@Override
	public List<WxuserPersonal> queryList(Map<String, Object> map){
		return wxuserPersonalDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wxuserPersonalDao.queryTotal(map);
	}
	
	@Override
	public void save(WxuserPersonal wxuserPersonal){
		wxuserPersonalDao.save(wxuserPersonal);
	}
	
	@Override
	public void update(WxuserPersonal wxuserPersonal){
		wxuserPersonalDao.update(wxuserPersonal);
	}
	
	@Override
	public void delete(Integer id){
		wxuserPersonalDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wxuserPersonalDao.deleteBatch(ids);
	}

	@Override
	public void addBatch(List<WxuserPersonal> list) {
		wxuserPersonalDao.addBatch(list);
	}

}
